SetScriptSourceRequest

data class SetScriptSourceRequest(scriptId: ScriptId, scriptSource: String, dryRun: Boolean?)

Represents request frame that can be used with Debugger#setScriptSource operation call.

Edits JavaScript source live.

See also

Constructors

SetScriptSourceRequest
Link copied to clipboard
fun SetScriptSourceRequest(scriptId: ScriptId, scriptSource: String, dryRun: Boolean? = null)

Properties

dryRun
Link copied to clipboard
val dryRun: Boolean? = null
If true the change will not actually be applied.
scriptId
Link copied to clipboard
val scriptId: ScriptId
Id of the script to edit.
scriptSource
Link copied to clipboard
val scriptSource: String
New content of the script.

Sources

jvm source
Link copied to clipboard